<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Xapian-1.4.14
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;9.&nbsp;General Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="wv.html" title="wv-1.2.9">Prev</a>
          <p>
            wv-1.2.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="graphlib.html" title=
          "Graphics and Font Libraries">Next</a>
          <p>
            Graphics and Font Libraries
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="xapian" name="xapian"></a>Xapian-1.4.14
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to xapian
        </h2>
        <p>
          Xapian is an open source search engine library.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://oligarchy.co.uk/xapian/1.4.14/xapian-core-1.4.14.tar.xz">
                http://oligarchy.co.uk/xapian/1.4.14/xapian-core-1.4.14.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 714b02c306a5f11dea035da70462c288
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 2.8 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 185 MB (add estimated 100 MB
                for tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.6 SBU (using parallelism=4; add
                estimated 180 SBU for tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Xapian Dependencies
        </h3>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a> (for tests)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/xapian">http://wiki.linuxfromscratch.org/blfs/wiki/xapian</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Xapian
        </h2>
        <p>
          Install <span class="application">Xapian</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/xapian-core-1.4.14 &amp;&amp;
make</kbd>
</pre>
        <p>
          The regression tests are not recommended. On a fast (3.2 GHz i7)
          system they took over five hours and two of four tests (the
          valgrind tests) failed. To run the test suite anyway, issue:
          <span class="command"><strong>make check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">copydatabase, quest, simpleexpand,
              simpleindex, simplesearch, xapian-check, xapian-chert-update,
              xapian-compact, xapian-config, xapian-delve, xapian-metadata,
              xapian-pos, xapian-progsrv, xapian-replicate,
              xapian-replicate-server and xapian-tcpsrv</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libxapian.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/xapian,
              /usr/lib/cmake/xapian, and
              /usr/share/doc/xapian-core-1.4.14</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="copydatabase" name="copydatabase"></a><span class=
                    "term"><span class=
                    "command"><strong>copydatabase</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    perform a document-by-document copy of one or more
                    <span class="application">Xapian</span> databases.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="quest" name="quest"></a><span class=
                    "term"><span class=
                    "command"><strong>quest</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a search command line tool.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="simpleexpand" name="simpleexpand"></a><span class=
                    "term"><span class=
                    "command"><strong>simpleexpand</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a simple example program demonstrating query
                    expansion.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="simpleindex" name="simpleindex"></a><span class=
                    "term"><span class=
                    "command"><strong>simpleindex</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    index each paragraph of a text file as a <span class=
                    "application">Xapian</span> document.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="simplesearch" name="simplesearch"></a><span class=
                    "term"><span class=
                    "command"><strong>simplesearch</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a simple command line search utility.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-check" name="xapian-check"></a><span class=
                    "term"><span class=
                    "command"><strong>xapian-check</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    check the consistency of a database or table.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-chert-update" name=
                    "xapian-chert-update"></a><span class="term"><span class=
                    "command"><strong>xapian-chert-update</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    update a chert database to the new format keys.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-compact" name=
                    "xapian-compact"></a><span class="term"><span class=
                    "command"><strong>xapian-compact</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compact a database, or merge and compact several.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-config" name=
                    "xapian-config"></a><span class="term"><span class=
                    "command"><strong>xapian-config</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    report information about the installed xapian.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-delve" name="xapian-delve"></a><span class=
                    "term"><span class=
                    "command"><strong>xapian-delve</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    inspect the contents of a <span class=
                    "application">Xapian</span> database.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-metadata" name=
                    "xapian-metadata"></a><span class="term"><span class=
                    "command"><strong>xapian-metadata</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    read and write user metadata.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-pos" name="xapian-pos"></a><span class=
                    "term"><span class=
                    "command"><strong>xapian-pos</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    inspect the contents of a flint table for development or
                    debugging.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-progsrv" name=
                    "xapian-progsrv"></a><span class="term"><span class=
                    "command"><strong>xapian-progsrv</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    remote server for use with <span class=
                    "application">ProgClient</span>.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-replicate" name=
                    "xapian-replicate"></a><span class="term"><span class=
                    "command"><strong>xapian-replicate</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    replicate a database from a master server to a local
                    copy.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-replicate-server" name=
                    "xapian-replicate-server"></a><span class=
                    "term"><span class=
                    "command"><strong>xapian-replicate-server</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    service database replication requests from clients.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="xapian-tcpsrv" name=
                    "xapian-tcpsrv"></a><span class="term"><span class=
                    "command"><strong>xapian-tcpsrv</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the TCP daemon for use with <span class=
                    "application">Xapian</span>'s remote backend.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 18:46:23 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="wv.html" title="wv-1.2.9">Prev</a>
          <p>
            wv-1.2.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="graphlib.html" title=
          "Graphics and Font Libraries">Next</a>
          <p>
            Graphics and Font Libraries
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genlib.html" title=
          "Chapter&nbsp;9.&nbsp;General Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
